<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>My JSP 'importExcel.jsp' starting page</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">

<link rel="stylesheet" type="text/css" href="images/main.css">

<script type="text/javascript" src="images/jquery.js"></script>

</head>

<body>
	<div class="mainBox">
	<form action="importExcel" enctype="multipart/form-data" method="post">
		<table class="table_style" cellpadding="3" cellspacing="1" border="0">
		<tr><td class="td_sty">请选择导入类型</td><td class="td_sty2">
		<select name="itype" class="text">
			<option value="book">图书</option>
			<option value="disk">光盘</option>
			<option value="peri">期刊</option>
		</select>
		</td></tr>
		<tr><td class="td_sty">请选择Excel文件</td><td class="td_sty2"><input type="file" id="upExcel" name="fileUp" class="text"/></td></tr>
		<tr><td class="td_sty"></td><td class="td_sty2"><input type="submit" id="upload" value="导入" class="buttons"/></td></tr>
		<tr><td colspan="2" class="td_sty2">请下载文件导入模板：<a href="files/books.xls">图书</a>、<a href="files/periodicals.xls">期刊</a>、<a href="files/disks.xls">光盘</a></td></tr>
		</table>
	</form>
	</div>
</body>
</html>
